/******************************************************************************* * Copyright (c) 2012, Project: FP7-ICT-257930 Aniketos * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * * - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * - Neither the name of institution nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ******************************************************************************/ /** */ package org.eclipse.bpmn2; import java.util.List; import org.eclipse.securebpmn2.ActivityAction; import org.eclipse.securebpmn2.ActivityAuthorizationConstraint; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Activity</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link org.eclipse.bpmn2.Activity#getIoSpecification <em>Io Specification</em>}</li> * <li>{@link org.eclipse.bpmn2.Activity#getBoundaryEventRefs <em>Boundary Event Refs</em>}</li> * <li>{@link org.eclipse.bpmn2.Activity#getProperties <em>Properties</em>}</li> * <li>{@link org.eclipse.bpmn2.Activity#getDataInputAssociations <em>Data Input Associations</em>}</li> * <li>{@link org.eclipse.bpmn2.Activity#getDataOutputAssociations <em>Data Output Associations</em>}</li> * <li>{@link org.eclipse.bpmn2.Activity#getResources <em>Resources</em>}</li> * <li>{@link org.eclipse.bpmn2.Activity#getLoopCharacteristics <em>Loop Characteristics</em>}</li> * <li>{@link org.eclipse.bpmn2.Activity#getCompletionQuantity <em>Completion Quantity</em>}</li> * <li>{@link org.eclipse.bpmn2.Activity#getDefault <em>Default</em>}</li> * <li>{@link org.eclipse.bpmn2.Activity#isIsForCompensation <em>Is For Compensation</em>}</li> * <li>{@link org.eclipse.bpmn2.Activity#getStartQuantity <em>Start Quantity</em>}</li> * <li>{@link org.eclipse.bpmn2.Activity#getActivitiListeners <em>Activiti Listeners</em>}</li> * <li>{@link org.eclipse.bpmn2.Activity#isAsynchronous <em>Asynchronous</em>}</li> * <li>{@link org.eclipse.bpmn2.Activity#getActivityActions <em>Activity Actions</em>}</li> * <li>{@link org.eclipse.bpmn2.Activity#getActivityAuthorizationConstraints <em>Activity Authorization Constraints</em>}</li> * </ul> * </p> * * @see org.eclipse.bpmn2.Bpmn2Package#getActivity() * @model abstract="true" * extendedMetaData="name='tActivity' kind='elementOnly'" * @generated */ public interface Activity extends FlowNode { /** * Returns the value of the '<em><b>Io Specification</b></em>' containment reference. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Io Specification</em>' containment reference isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Io Specification</em>' containment reference. * @see #setIoSpecification(InputOutputSpecification) * @see org.eclipse.bpmn2.Bpmn2Package#getActivity_IoSpecification() * @model containment="true" ordered="false" * extendedMetaData="kind='element' name='ioSpecification' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'" * @generated */ InputOutputSpecification getIoSpecification(); /** * Sets the value of the '{@link org.eclipse.bpmn2.Activity#getIoSpecification <em>Io Specification</em>}' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Io Specification</em>' containment reference. * @see #getIoSpecification() * @generated */ void setIoSpecification(InputOutputSpecification value); /** * Returns the value of the '<em><b>Boundary Event Refs</b></em>' reference list. * The list contents are of type {@link org.eclipse.bpmn2.BoundaryEvent}. * It is bidirectional and its opposite is '{@link org.eclipse.bpmn2.BoundaryEvent#getAttachedToRef <em>Attached To Ref</em>}'. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Boundary Event Refs</em>' reference list isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Boundary Event Refs</em>' reference list. * @see org.eclipse.bpmn2.Bpmn2Package#getActivity_BoundaryEventRefs() * @see org.eclipse.bpmn2.BoundaryEvent#getAttachedToRef * @model opposite="attachedToRef" resolveProxies="false" transient="true" derived="true" ordered="false" * @generated */ List<BoundaryEvent> getBoundaryEventRefs(); /** * Returns the value of the '<em><b>Properties</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.bpmn2.Property}. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Properties</em>' containment reference list isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Properties</em>' containment reference list. * @see org.eclipse.bpmn2.Bpmn2Package#getActivity_Properties() * @model containment="true" ordered="false" * extendedMetaData="kind='element' name='property' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'" * @generated */ List<Property> getProperties(); /** * Returns the value of the '<em><b>Data Input Associations</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.bpmn2.DataInputAssociation}. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Data Input Associations</em>' containment reference list isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Data Input Associations</em>' containment reference list. * @see org.eclipse.bpmn2.Bpmn2Package#getActivity_DataInputAssociations() * @model containment="true" ordered="false" * extendedMetaData="kind='element' name='dataInputAssociation' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'" * @generated */ List<DataInputAssociation> getDataInputAssociations(); /** * Returns the value of the '<em><b>Data Output Associations</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.bpmn2.DataOutputAssociation}. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Data Output Associations</em>' containment reference list isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Data Output Associations</em>' containment reference list. * @see org.eclipse.bpmn2.Bpmn2Package#getActivity_DataOutputAssociations() * @model containment="true" ordered="false" * extendedMetaData="kind='element' name='dataOutputAssociation' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL'" * @generated */ List<DataOutputAssociation> getDataOutputAssociations(); /** * Returns the value of the '<em><b>Resources</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.bpmn2.ResourceRole}. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Resources</em>' containment reference list isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Resources</em>' containment reference list. * @see org.eclipse.bpmn2.Bpmn2Package#getActivity_Resources() * @model containment="true" ordered="false" * extendedMetaData="kind='element' name='resourceRole' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' group='http://www.omg.org/spec/BPMN/20100524/MODEL#resourceRole'" * @generated */ List<ResourceRole> getResources(); /** * Returns the value of the '<em><b>Loop Characteristics</b></em>' containment reference. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Loop Characteristics</em>' containment reference isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Loop Characteristics</em>' containment reference. * @see #setLoopCharacteristics(LoopCharacteristics) * @see org.eclipse.bpmn2.Bpmn2Package#getActivity_LoopCharacteristics() * @model containment="true" ordered="false" * extendedMetaData="kind='element' name='loopCharacteristics' namespace='http://www.omg.org/spec/BPMN/20100524/MODEL' group='http://www.omg.org/spec/BPMN/20100524/MODEL#loopCharacteristics'" * @generated */ LoopCharacteristics getLoopCharacteristics(); /** * Sets the value of the '{@link org.eclipse.bpmn2.Activity#getLoopCharacteristics <em>Loop Characteristics</em>}' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Loop Characteristics</em>' containment reference. * @see #getLoopCharacteristics() * @generated */ void setLoopCharacteristics(LoopCharacteristics value); /** * Returns the value of the '<em><b>Completion Quantity</b></em>' attribute. * The default value is <code>"1"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Completion Quantity</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Completion Quantity</em>' attribute. * @see #setCompletionQuantity(int) * @see org.eclipse.bpmn2.Bpmn2Package#getActivity_CompletionQuantity() * @model default="1" required="true" ordered="false" * extendedMetaData="kind='attribute' name='completionQuantity'" * @generated */ int getCompletionQuantity(); /** * Sets the value of the '{@link org.eclipse.bpmn2.Activity#getCompletionQuantity <em>Completion Quantity</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Completion Quantity</em>' attribute. * @see #getCompletionQuantity() * @generated */ void setCompletionQuantity(int value); /** * Returns the value of the '<em><b>Default</b></em>' reference. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Default</em>' reference isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Default</em>' reference. * @see #setDefault(SequenceFlow) * @see org.eclipse.bpmn2.Bpmn2Package#getActivity_Default() * @model resolveProxies="false" ordered="false" * extendedMetaData="kind='attribute' name='default'" * @generated */ SequenceFlow getDefault(); /** * Sets the value of the '{@link org.eclipse.bpmn2.Activity#getDefault <em>Default</em>}' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Default</em>' reference. * @see #getDefault() * @generated */ void setDefault(SequenceFlow value); /** * Returns the value of the '<em><b>Is For Compensation</b></em>' attribute. * The default value is <code>"false"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Is For Compensation</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Is For Compensation</em>' attribute. * @see #setIsForCompensation(boolean) * @see org.eclipse.bpmn2.Bpmn2Package#getActivity_IsForCompensation() * @model default="false" required="true" ordered="false" * extendedMetaData="kind='attribute' name='isForCompensation'" * @generated */ boolean isIsForCompensation(); /** * Sets the value of the '{@link org.eclipse.bpmn2.Activity#isIsForCompensation <em>Is For Compensation</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Is For Compensation</em>' attribute. * @see #isIsForCompensation() * @generated */ void setIsForCompensation(boolean value); /** * Returns the value of the '<em><b>Start Quantity</b></em>' attribute. * The default value is <code>"1"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Start Quantity</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Start Quantity</em>' attribute. * @see #setStartQuantity(int) * @see org.eclipse.bpmn2.Bpmn2Package#getActivity_StartQuantity() * @model default="1" required="true" ordered="false" * extendedMetaData="kind='attribute' name='startQuantity'" * @generated */ int getStartQuantity(); /** * Sets the value of the '{@link org.eclipse.bpmn2.Activity#getStartQuantity <em>Start Quantity</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Start Quantity</em>' attribute. * @see #getStartQuantity() * @generated */ void setStartQuantity(int value); /** * Returns the value of the '<em><b>Activiti Listeners</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.bpmn2.ActivitiListener}. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Activiti Listeners</em>' containment reference list isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Activiti Listeners</em>' containment reference list. * @see org.eclipse.bpmn2.Bpmn2Package#getActivity_ActivitiListeners() * @model containment="true" * @generated */ List<ActivitiListener> getActivitiListeners(); /** * Returns the value of the '<em><b>Asynchronous</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Asynchronous</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Asynchronous</em>' attribute. * @see #setAsynchronous(boolean) * @see org.eclipse.bpmn2.Bpmn2Package#getActivity_Asynchronous() * @model * @generated */ boolean isAsynchronous(); /** * Sets the value of the '{@link org.eclipse.bpmn2.Activity#isAsynchronous <em>Asynchronous</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Asynchronous</em>' attribute. * @see #isAsynchronous() * @generated */ void setAsynchronous(boolean value); /** * Returns the value of the '<em><b>Activity Actions</b></em>' reference list. * The list contents are of type {@link org.eclipse.securebpmn2.ActivityAction}. * It is bidirectional and its opposite is '{@link org.eclipse.securebpmn2.ActivityAction#getActivity <em>Activity</em>}'. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Activity Actions</em>' reference list isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Activity Actions</em>' reference list. * @see org.eclipse.bpmn2.Bpmn2Package#getActivity_ActivityActions() * @see org.eclipse.securebpmn2.ActivityAction#getActivity * @model opposite="activity" * @generated */ List<ActivityAction> getActivityActions(); /** * Returns the value of the '<em><b>Activity Authorization Constraints</b></em>' reference list. * The list contents are of type {@link org.eclipse.securebpmn2.ActivityAuthorizationConstraint}. * It is bidirectional and its opposite is '{@link org.eclipse.securebpmn2.ActivityAuthorizationConstraint#getActivities <em>Activities</em>}'. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Activity Authorization Constraints</em>' reference list isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Activity Authorization Constraints</em>' reference list. * @see org.eclipse.bpmn2.Bpmn2Package#getActivity_ActivityAuthorizationConstraints() * @see org.eclipse.securebpmn2.ActivityAuthorizationConstraint#getActivities * @model opposite="activities" * @generated */ List<ActivityAuthorizationConstraint> getActivityAuthorizationConstraints(); } // Activity